import request from '@/utils/request'

/**
 * 销售生产看板
 * @param {*} params
 * @returns
 */
export function getSalesVisPannelData(params) {
  return request({
    url: '/A10/visPannel/salesVisPannel',
    params
  })
}

/**
 * 销售生产看板Sub
 * @param {*} params
 * @returns
 */
export function getSalesVisPannelSubData(params) {
  return request({
    url: '/A10/visPannel/salesVisPannelSub',
    params
  })
}
/**
 * 销售出货看板
 * @param {*} params
 * @returns
 */
export function getSalesShipmentVisPannelData(params) {
  return request({
    url: '/A10/visPannel/salesShipmentVisPannel',
    params
  })
}

/**
 * 销售出货看板Sub
 * @param {*} params
 * @returns
 */
export function getSalesShipmentVisPannelSubData(params) {
  return request({
    url: '/A10/visPannel/salesShipmentVisPannelSub',
    params
  })
}
/**
 * 线割待报工看板
 * @param {*} params
 * @returns
 */
export function getLineCuttingVisPannelData(params) {
  return request({
    url: '/A10/visPannel/lineCuttingVisPannel',
    params
  })
}

/**
 * 销售委外工序看板
 * @param {*} params
 * @returns
 */
export function getSalesOutsourcingProcessVisPannelData(params) {
  return request({
    url: '/A10/visPannel/salesOutsourcingProcessVisPannel',
    params
  })
}
/**
 * 销售委外工序看板
 * @param {*} params
 * @returns
 */
export function getSalesOutsourcingProcessVisPannelSubData(params) {
  return request({
    url: '/A10/visPannel/salesOutsourcingProcessVisPannelSub',
    params
  })
}
/**
 * 生产工艺看板
 * @param {*} params
 * @returns
 */
export function getProductionProcessVisPannelData(params) {
  return request({
    url: '/A10/visPannel/productionProcessVisPannel',
    params
  })
}

/**
 * 生产工艺看板Sub
 * @param {*} params
 * @returns
 */
export function getProductionProcessVisPannelSubData(params) {
  return request({
    url: '/A10/visPannel/productionProcessVisPannelSub',
    params
  })
}

/**
 * NKE销售生产看板
 * @param {*} params
 * @returns
 */
export function getNKESalesProductionVisPannelData(params) {
  return request({
    url: '/A10/visPannel/NKESalesProductionVisPannel',
    params
  })
}
/**
 * NKE销售生产看板Sub
 * @param {*} params
 * @returns
 */
export function getNKESalesProductionVisPannelSubData(params) {
  return request({
    url: '/A10/visPannel/NKESalesProductionVisPannelSub',
    params
  })
}
/**
 * L3销售生产看板
 * @param {*} params
 * @returns
 */
export function getL3SalesProductionVisPannelData(params) {
  return request({
    url: '/A10/visPannel/L3SalesProductionVisPannel',
    params
  })
}

/**
 * L3销售生产看板Sub
 * @param {*} params
 * @returns
 */
export function getL3SalesProductionVisPannelSubData(params) {
  return request({
    url: '/A10/visPannel/L3SalesProductionVisPannelSub',
    params
  })
}
/**
 * L3销售生产看板Sub弹窗
 * @param {*} params
 * @returns
 */
export function getL3SubData(params) {
  return request({
    url: '/A10/visPannel/L3SubData',
    params
  })
}
/**
 * L3销售生产看板Sub弹窗保存数据
 * @param {*} params
 * @returns
 */
export function saveSubData(data) {
  return request({
    url: '/A10/visPannel/sales/saveSubData',
    data: data,
    method: 'post'
  })
}
/**
 * 工序接收完成看板
 * @param {*} params
 * @returns
 */
export function getProcessReceptionCompletedVisPannelData(params) {
  return request({
    url: '/A10/visPannel/processReceptionCompletedVisPannel',
    params
  })
}

/**
 * FTP销售生产看板
 * @param {*} params
 * @returns
 */
export function getFTPSalesProductionVisPannelData(params) {
  return request({
    url: '/A10/visPannel/FTPSalesProductionVisPannel',
    params
  })
}

/**
 * FTP销售生产看板详情
 * @param {*} params
 * @returns
 */
export function getFTPSalesProductionVisPannelSubData(params) {
  return request({
    url: '/A10/visPannel/FTPSalesProductionVisPannelSub',
    params
  })
}

/**
 * 销售看板
 * @param {*} params
 * @returns
 */
export function getSaleVisPannelData(params) {
  return request({
    url: '/A10/visPannel/saleVisPannel',
    params
  })
}

/**
 * 销售看板点击跳转
 * @param {*} params
 * @returns
 */
export function getSaleVisPannelSubData(params) {
  return request({
    url: '/A10/visPannel/saleVisPannelSub',
    params
  })
}

/**
 * 销售看板点击跳转在跳转
 * @param {*} params
 * @returns
 */
export function getSaleVisPannelSubSubData(params) {
  return request({
    url: '/A10/visPannel/saleVisPannelSubSub',
    params
  })
}

/**
 * 计划生产看板
 * @param {*} params
 * @returns
 */
export function getProductionPlanPannelData(params) {
  return request({
    url: '/A10/visPannel/productionPlanPannel',
    params
  })
}
